<?php if (!defined('THINK_PATH')) exit();?> <dl class="name clearfix">
   	<dt><a href="<?php echo ($userInfo["space_url"]); ?>" target="_blank"><img src="<?php echo ($userInfo["avatar_small"]); ?>" /></a></dt>
       <dd>
           <p><a href="<?php echo ($userInfo["space_url"]); ?>" target="_blank"><?php echo ($userInfo["uname"]); ?></a>
            <?php if(is_array($userInfo['groupData'][$userInfo['uid']])): ?><?php $i = 0;?><?php $__LIST__ = $userInfo['groupData'][$userInfo['uid']]?><?php if( count($__LIST__)==0 ) : echo "" ; ?><?php else: ?><?php foreach($__LIST__ as $key=>$v2): ?><?php ++$i;?><?php $mod = ($i % 2 )?><img style="width:auto;height:auto;display:inline;cursor:pointer" src="<?php echo ($v2['user_group_icon_url']); ?>" title="<?php echo ($v2['user_group_name']); ?>" />&nbsp;<?php endforeach; ?><?php endif; ?><?php else: echo "" ;?><?php endif; ?>
           <a href="<?php echo U('public/Index/scoredetail');?>" target="_blank"><img src="<?php echo ($userCredit["level"]["src"]); ?>" title='<?php echo ($userCredit["level"]["name"]); ?>'></a>
           <span>	
           <?php if(($follow_state["following"])  ==  "1"): ?><?php echo W('Remark',array('uid'=>$uid,'remark'=>$remarkHash[$uid]));?><?php endif; ?>
        	</span></p>
        	<?php if(CheckPermission('core_normal','read_data')){ ?>
          <div class="grade"><?php if($userInfo['sex'] == 1): ?><i class="ico-male"></i><?php else: ?><i class="ico-female"></i><?php endif; ?>&nbsp;<?php echo ($userInfo['location']); ?></div>
          <?php } ?>
           <div>
               <ul class="userdata clearfix">
                   <li><a href="<?php echo U('public/Profile/following',array('uid'=>$uid));?>" target="_blank"><?php echo L('PUBLIC_FOLLOWING');?></a> <?php echo (($count_info["following_count"])?($count_info["following_count"]):0); ?></li>
                   <li class="vline">|</li>
                   <li><a href="<?php echo U('public/Profile/follower',array('uid'=>$uid));?>" target="_blank"><?php echo L('PUBLIC_FOLLOWERS');?></a> <?php echo (($count_info["follower_count"])?($count_info["follower_count"]):0); ?></li>
                   <li class="vline">|</li>
                   <li><a href="<?php echo ($userInfo["space_url"]); ?>" target="_blank"><?php echo L('PUBLIC_WEIBO');?></a> <?php echo (($count_info["weibo_count"])?($count_info["weibo_count"]):0); ?></li>
               </ul>
           </div>
           <p class="address"><?php echo ($department["title"]); ?></p>
       </dd>
   </dl>
<dl class="info clearfix">
   <!-- 认证信息 start -->
  <?php if($verifyInfo){ ?>
    <dd class="tag"><span>认证：</span>
     <div class="tag-inner"><?php echo ($verifyInfo); ?></div>
    </dd>   
  <?php } ?>
  <!-- 认证信息  end -->
  <?php if(CheckPermission('core_normal','read_data')){ ?>
	  <?php if(($user_tag)  !=  ""): ?><dd class="tag"><span><?php echo L('PUBLIC_TAG');?>：</span> <div class="tag-inner"><?php echo ($user_tag); ?></div></dd><?php endif; ?>
   		<?php if(($userInfo["intro"])  !=  ""): ?><dd class="tag"><span>简介：</span>
         <div class="tag-inner"><?php echo (getshort($userInfo['intro'],60,'...')); ?></div>
        </dd><?php endif; ?>
<?php } ?>
</dl>
<?php if ( CheckTaskSwitch() ){ ?>
<dl class="info my-medal-list clearfix">      
       <ul> 
        <?php if(count($userInfo['medals'])>7){ ?><a href="<?php echo U('public/Medal/index','uid='.$uid);?>" target="_blank"><i class="arrow-next-page right"></i></a><?php } ?>
       <?php $medals = array_slice($userInfo['medals'],0,7); ?>
       <?php if(count($userInfo['medals']) > 0){ ?>
       	<?php if(is_array($medals)): ?><?php $i = 0;?><?php $__LIST__ = $medals?><?php if( count($__LIST__)==0 ) : echo "" ; ?><?php else: ?><?php foreach($__LIST__ as $key=>$medal): ?><?php ++$i;?><?php $mod = ($i % 2 )?><li><a href="<?php echo U('public/Medal/index','type=2');?>" target="_blank"><img src="<?php echo ($medal["small_src"]); ?>" width="30" height="30"></a></li><?php endforeach; ?><?php endif; ?><?php else: echo "" ;?><?php endif; ?>
		<?php } ?>		 
      </ul>
</dl>
<?php } ?>
<dl class="links">
       <div class="right">
        <?php echo W('FollowBtn', array('fid'=>$uid, 'uname'=>$userInfo['uname'], 'follow_state'=>$follow_state, 'type'=>'normal'));?>
       </div>
   	<p class="left"><span><a href="javascript:ui.sendat(<?php echo ($uid); ?>)">@TA</a></span> 
   	<?php if(CheckPermission('core_normal','send_message')){ ?>
      <?php if(($UserPrivacy["message"])  ==  "0"): ?>| <span><a href="javascript:ui.sendmessage(<?php echo ($uid); ?>, 0)"><?php echo L('PUBLIC_SEND_PRIVATE_MESSAGE');?></a></span><?php endif; ?>
      <?php } ?>
   	<!-- <span class="vline">|</span><span><em class="icons ico_set"></em>
   </span> --> </p>
   </dl>
<script>
	M(document.getElementById('face_card'));
</script>